package com;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@ComponentScan(basePackages = "com")
@EnableAutoConfiguration
@EnableScheduling
//开启定时任务
@EnableAsync
//开启异步
public class App {
	public static void main(String[] args) {
		SpringApplication.run(App.class, args);
	}
}
